from django.db import models

# Create your models here.

class Noticia(models.Model):
    titulo = models.CharField(max_length=200)
    subtitulo = models.CharField(max_length=200)
    conteudo = models.CharField(max_length=5000)
    autor = models.CharField(max_length=200)
    dataDeEntrada = models.DateTimeField('date published')
    dataDeSaida = models.DateTimeField('date published')
    fonte = models.CharField(max_length=200)
    publicar = models.BooleanField()
    destaque = models.BooleanField()
    imagemPrincipal = models.ImageField()
    
